export const getImageUrl = (iconsPath) => {
  // console.log("iconsPath==>",iconsPath);
  // return new URL(`${iconsPath}`, import.meta.url).href
  return new URL(`../assets/icons/${iconsPath}.png`,import.meta.url).href
}
export const getImageUrl2 = (iconsPath) => {
  // console.log("iconsPath==>",iconsPath);
  // return new URL(`${iconsPath}`, import.meta.url).href
  return new URL(`../assets/${iconsPath}`,import.meta.url).href
}


export const checkNullObj =(obj)=>{
  return Object.keys(obj).length === 0 && Object.getOwnPropertySymbols(obj).length === 0
}